package com.tgu.home_action.pojo.state;

public enum RedisHeader {
    ADMIN_TOKEN("admin_access_token__"),
    ADMIN_OLD_TOKEN("admin_old_access_token"),
    ADMIN_REFRESH_TOKEN("admin_refresh_token"),
    FAMILY_TOKEN("family_access_token__"),
    FAMILY_OLD_TOKEN("family_old_access_token"),
    FAMILY_REFRESH_TOKEN("family_refresh_token"),
    VOLUNTEER_TOKEN("volunteer_access_token__"),
    VOLUNTEER_OLD_TOKEN("volunteer_old_access_token"),
    VOLUNTEER_REFRESH_TOKEN("volunteer_refresh_token"),
    WX_VOLUNTEER_ACCESS_TOKEN("wx_volunteer_access_token"),
    WX_FAMILY_ACCESS_TOKEN("wx_family_access_token"),
    CLIENT_ACCESS_TOKEN("client_access_token"),
    CLIENT_REFRESH_TOKEN("client_refresh_token"),
    FAMILY_SESSION_KEY("family_session_key"),
    VOLUNTEER_SESSION_KEY("volunteer_session_key"),
    FAMILY_BIND_CODE("family_bind_code"),
    FAMILY_UPDATE_CODE("family_update_code"),
    VOLUNTEER_BIND_CODE("volunteer_bind_code"),
    VOLUNTEER_UPDATE_CODE("volunteer_update_code"),
    VOLUNTEER_UNBIND_CODE("volunteer_unbind_code"),
    VOLUNTEER_PLACE("volunteer_place"),
    VOLUNTEER_ONLINE("volunteer_online"),//在线的人
    VOLUNTEER_ONLINE_TWO_HOUR("volunteer_online_two_hour"),//两小时内在线的人
    CASE_TIME("case_time"),//案件开始时间
    GROUP_ID("group_id"),//群组ID
    TRACK("track"),
    ;
    private String header;

    RedisHeader(String header) {
        this.header = "home_action_" + header;
    }

    public String getHeader() {
        return header;
    }
}
